package leetcode.backtrace;

import leetcode.backtrace.common.BackTraceUtils;

import java.util.Arrays;
import java.util.List;

class Solution51 {
    public List<List<String>> solveNQueens(int n) {
        return BackTraceUtils.solveNQueens(n);
    }
}

public class leetcode51 {
    public static void main(String[] args) {
        Solution51 solution51 = new Solution51();
        System.out.println(solution51.solveNQueens(1));
        System.out.println(solution51.solveNQueens(4));
    }
}
